//package io.gitee.lifei;
//
//import io.grpc.examples.GreeterGrpc;
//import io.grpc.examples.Helloworld;
//import io.grpc.stub.StreamObserver;
//
//public class GreeterGrpcImpl extends GreeterGrpc.GreeterImplBase {
//
//    @Override
//    public void sayHello(Helloworld.HelloRequest req, StreamObserver<Helloworld.HelloReply> responseObserver) {
//        Helloworld.HelloReply reply = Helloworld.HelloReply.newBuilder().setMessage("Hello ==> " + req.getName()).build();
//        responseObserver.onNext(reply);
//        responseObserver.onCompleted();
//    }
//
//}